﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;

namespace BUS
{
    public class KhoThietBiBUS
    {
        KhoThietBiDAO ktbDAO = new KhoThietBiDAO();

        public List<KhoThietBiDTO> LayDanhSachKhoThietBi()
        {
            return ktbDAO.LayDanhSachKhoThietBi();
        }

        public string ThemKhoThietBi(KhoThietBiDTO ktb)
        {
            return ktbDAO.ThemKhoThietBi(ktb);
        }

        public string CapNhatKhoThietBi(KhoThietBiDTO ktb)
        {
            return ktbDAO.CapNhatKhoThietBi(ktb);
        }

        public string XoaKhoThietBi(KhoThietBiDTO ktb)
        {
            return ktbDAO.XoaKhoThietBi(ktb);
        }
    }
}
